Getting started
With the Caesar API, you can easily work with Database tables, even without writing e.g. SQL.
By using this approach, you make your database functions automatically compatible with all database types support by Caesar.
important
To use the Caesar Database API, you have to install the Database-API plugin from the marketplace.
After installing the plugin, you need to integrate the API in your project:
- Maven
- Gradle (Groovy)
- Gradle (Kotlin)
<dependency>
<groupId>de.julianweinelt.caesar</groupId>
<artifactId>DB-API</artifactId>
<version>${version}</version>
</dependency>
Kotlin (Kotlin)
implementation "de.julianweinelt.caesar:DB-API:${version}"
Kotlin (Kotlin)
implementation("de.julianweinelt.caesar:DB-API:${version}")
Make sure to replace ${version}
with the actual version.
Remember!
Don't forget to add "DB-API"
as a dependency in your plugin.json
.